package com.dependencies.quartzschedulermysql.jobs;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @author zhizhou   2024/8/7 23:21
 */
@Component
public class SampleJob implements Job {
    
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        System.out.println("Executing Job at " + LocalDateTime.now());
    }
    
    
}
